﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.Unity;
using SISGEZATBZVisual.BusinessEntities;
using SISGEZATBZVisual.Repository;

namespace SISGEZATBZVisual.Service
{
    public class TipoPagoService : ITipoPagoService
    {
        [Dependency]
        public ITipoPagoRepository TipoPagoRepository { get; set; }

        public IEnumerable<TipoPago> GetTipoPago()
        {
            return TipoPagoRepository.GetTipoPago();
        }

        TipoPago ITipoPagoService.GetMonto(int idtipo)
        {
            return TipoPagoRepository.GetMonto(idtipo);
        }
    }
}
